package com.example.demo.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: DELL
 * Date: 2023-06-01
 * Time: 9:24
 */
@RestController
@RequestMapping("/user")
public class UserController {

    @RequestMapping("/reg")
    public String register() {
        return "注册成功";
    }

    @RequestMapping("/login")
    public String login() {
        return "登陆成功";
    }

    @RequestMapping("article")
    public String writer() {
        return "写文章鉴权";
    }
}
